package com.example.sell.enums;
import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *http请求返回的最外层对象
 * @author ouyangzhixiang
 * @date 2018/6/25
 */
@Getter
public enum  ResultVO{
    /** 成功返回提示吗*/
    SUCCESS(0,"成功"),
    /**错误返回提示ma*/
    ERROR(1,"错误"),
    ;

    private final Integer code;
    private final String desc;

    ResultVO(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
